package aa.jx.order.model;


public class ProductSpec {
    private Integer id;
    private Integer productId;
    private String specName;
    private String specValue;

    // 构造方法
    public ProductSpec() {
    }

    public ProductSpec(Integer id, Integer productId, String specName, String specValue) {
        this.id = id;
        this.productId = productId;
        this.specName = specName;
        this.specValue = specValue;
    }

    // Getter和Setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getSpecValue() {
        return specValue;
    }

    public void setSpecValue(String specValue) {
        this.specValue = specValue;
    }

    @Override
    public String toString() {
        return "ProductSpec{" +
                "id=" + id +
                ", productId=" + productId +
                ", specName='" + specName + '\'' +
                ", specValue='" + specValue + '\'' +
                '}';
    }
}